﻿using System;
using System.Collections.Generic;

namespace CoreProject.Model;

public partial class HjqOrder
{
    public string OrderId { get; set; } = null!;

    public int UserId { get; set; }

    public DateTime OrderTime { get; set; }

    public string? PaymentMethod { get; set; }

    public decimal TotalAmount { get; set; }

    public string ShippingAddress { get; set; } = null!;

    public string RecipientName { get; set; } = null!;

    public string RecipientPhone { get; set; } = null!;

    public byte OrderStatus { get; set; }

    public DateTime? CreatedAt { get; set; }

    public DateTime? UpdatedAt { get; set; }

    public virtual ICollection<HjqOrderDetail> HjqOrderDetails { get; set; } = new List<HjqOrderDetail>();

    public virtual User User { get; set; } = null!;
}
